package com.n5x.mapper.discount;

import com.n5x.model.discount.DiscountCash;
import com.n5x.model.discount.DiscountCashExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DiscountCashMapper {
    int countByExample(DiscountCashExample example);

    int deleteByExample(DiscountCashExample example);

    int deleteByPrimaryKey(String id);

    int insert(DiscountCash record);

    int insertSelective(DiscountCash record);

    List<DiscountCash> selectByExampleWithBLOBs(DiscountCashExample example);

    List<DiscountCash> selectByExample(DiscountCashExample example);

    DiscountCash selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") DiscountCash record, @Param("example") DiscountCashExample example);

    int updateByExampleWithBLOBs(@Param("record") DiscountCash record, @Param("example") DiscountCashExample example);

    int updateByExample(@Param("record") DiscountCash record, @Param("example") DiscountCashExample example);

    int updateByPrimaryKeySelective(DiscountCash record);

    int updateByPrimaryKeyWithBLOBs(DiscountCash record);

    int updateByPrimaryKey(DiscountCash record);
}